Skip to content

[@happyguestmx/web-utilities] adding module & types#1

Merged
HappyGuest merged 3 commits intomasterfrom
happyguestmx__web-utilities
Mar 28, 2022
Merged

[@happyguestmx/web-utilities] adding module & types#1
HappyGuest merged 3 commits intomasterfrom
happyguestmx__web-utilities

Conversation

@HappyGuest
Copy link
Copy Markdown

@HappyGuest HappyGuest commented Mar 28, 2022

Provide types for @happyguestmx/web-utilities

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": "@definitelytyped/dtslint/dt.json" }, and no additional rules.
  • tsconfig.json should have noImplicitAny, noImplicitThis, strictNullChecks, and strictFunctionTypes set to true.

@HappyGuest HappyGuest merged commit 1f9322c into master Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants