Skip to content

Added type definitions for vite-plugin-react-svg#54276

Merged
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
priyanshurav:added-types-for-vite-plugin-react-svg
Jul 9, 2021
Merged

Added type definitions for vite-plugin-react-svg#54276
typescript-bot merged 2 commits intoDefinitelyTyped:masterfrom
priyanshurav:added-types-for-vite-plugin-react-svg

Conversation

@priyanshurav
Copy link
Contributor

This PR adds the type definitions for vite-plugin-react-svg

Please fill in this template.

Select one of these and delete the others:

If adding a new definition:

  • The package does not already provide its own types, or cannot have its .d.ts files generated via --declaration
  • If this is for an npm package, match the name. If not, do not conflict with the name of an npm package.
  • Create it with dts-gen --dt, not by basing it on an existing project.
  • Represents shape of module/library correctly
  • tslint.json should contain { "extends": "dtslint/dt.json" }, and no additional rules.
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

@typescript-bot
Copy link
Contributor

typescript-bot commented Jul 4, 2021

@priyanshurav Thank you for submitting this PR!

This is a live comment which I will keep updated.

1 package in this PR

Code Reviews

This PR can be merged.

You can test the changes of this PR in the Playground.

Status

  • ✅ No merge conflicts
  • ✅ Continuous integration tests have passed
  • ✅ Only a DT maintainer can approve changes when there are new packages added

All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes.


Diagnostic Information: What the bot saw about this PR
{
  "type": "info",
  "now": "-",
  "pr_number": 54276,
  "author": "priyanshurav",
  "headCommitOid": "e343424727557af064df592f47eb2675885aa670",
  "lastPushDate": "2021-07-06T17:25:58.000Z",
  "lastActivityDate": "2021-07-09T06:36:19.000Z",
  "maintainerBlessed": "Waiting for Author to Merge",
  "mergeOfferDate": "2021-07-08T21:47:59.000Z",
  "mergeRequestDate": "2021-07-09T06:36:19.000Z",
  "mergeRequestUser": "priyanshurav",
  "hasMergeConflict": false,
  "isFirstContribution": false,
  "tooManyFiles": false,
  "popularityLevel": "Well-liked by everyone",
  "pkgInfo": [
    {
      "name": "vite-plugin-react-svg",
      "kind": "add",
      "files": [
        {
          "path": "types/vite-plugin-react-svg/index.d.ts",
          "kind": "definition"
        },
        {
          "path": "types/vite-plugin-react-svg/package.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/vite-plugin-react-svg/tsconfig.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/vite-plugin-react-svg/tslint.json",
          "kind": "package-meta-ok"
        },
        {
          "path": "types/vite-plugin-react-svg/vite-plugin-react-svg-tests.ts",
          "kind": "test"
        }
      ],
      "owners": [],
      "addedOwners": [
        "priyanshurav"
      ],
      "deletedOwners": [],
      "popularityLevel": "Well-liked by everyone"
    }
  ],
  "reviews": [],
  "mainBotCommentID": 873627952,
  "ciResult": "pass"
}

@typescript-bot typescript-bot added the New Definition This PR creates a new definition package. label Jul 4, 2021
@typescript-bot
Copy link
Contributor

🔔 @priyanshurav — you're the only owner, but it would still be good if you find someone to review this PR in the next few days, otherwise a maintainer will look at it. (And if you do find someone, maybe even recruit them to be a second owner to make future changes easier...)

@typescript-bot typescript-bot added the The CI failed When GH Actions fails label Jul 4, 2021
@typescript-bot
Copy link
Contributor

@priyanshurav The CI build failed! Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

Note: builds which are failing do not end up on the list of PRs for the DT maintainers to review.

@typescript-bot typescript-bot added Self Merge This PR can now be self-merged by the PR author or an owner and removed The CI failed When GH Actions fails labels Jul 6, 2021
@priyanshurav
Copy link
Contributor Author

Ready to merge

@typescript-bot typescript-bot merged commit fe60a6d into DefinitelyTyped:master Jul 9, 2021
@priyanshurav priyanshurav deleted the added-types-for-vite-plugin-react-svg branch July 9, 2021 06:37
@typescript-bot
Copy link
Contributor

I just published @types/vite-plugin-react-svg@0.2.0 to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Definition This PR creates a new definition package. Self Merge This PR can now be self-merged by the PR author or an owner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants