You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Thanks for taking the time to help us make Spectacle even better! Before you go
40
40
41
41
- Run the tests using `yarn run test`.
42
42
- Run lint and flow using `yarn run lint`
43
-
-Open a PR in [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/spectacle/index.d.ts) for anything that modifies the Spectacle API, like breaking changes or new features.
43
+
-Update the [type definitions](./index.d.ts) for anything that modifies the Spectacle API, like breaking changes or new features.
44
44
- Everything else included in our [pull request checklist](https://github.com/FormidableLabs/spectacle/blob/master/.github/PULL_REQUEST_TEMPLATE.md#checklist-feel-free-to-delete-this-section-upon-completion)
45
45
46
46
## Releasing a new version to NPM (only for project administrators)
Yes, you can! Updated type definitions for the Spectacle API can be found within [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/spectacle/index.d.ts). You can bring them into your project using `yarn` or `npm`:
456
+
Yes, you can! Type definitions are shipped with the library, so you can import Spectacle components into any `.tsx` presentation without additional installation steps.
457
457
458
-
```sh
459
-
npm i --save @types/spectacle
460
-
```
458
+
Updated type definitions for the Spectacle API can be found [at the root of this repository](./index.d.ts).
0 commit comments