Skip to content

Add module to types#15

Open
AlexBroadbent wants to merge 1 commit intofazlulkarimweb:masterfrom
AlexBroadbent:fix-types
Open

Add module to types#15
AlexBroadbent wants to merge 1 commit intofazlulkarimweb:masterfrom
AlexBroadbent:fix-types

Conversation

@AlexBroadbent
Copy link
Copy Markdown

@AlexBroadbent AlexBroadbent commented Jul 14, 2022

Fixed #8

Resolves the error when building:

yarn run v1.22.11
$ tsc
node_modules/string-sanitizer/index.d.ts:13:1 - error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

13 const sanitize: ISanitize;
   ~~~~~


Found 1 error.

error Command failed with exit code 2.

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.

TypeScript Error TS1046

1 participant