Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
build: skip lib check
Browse files Browse the repository at this point in the history
it make TS to raise errors
  • Loading branch information
Tanguy Antoine authored and tanguyantoine committed Nov 23, 2018
1 parent 7ef9171 commit 5f14726
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 176 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ android/build
.vscode/
.DS_Store
node_modules/
lib/
28 changes: 0 additions & 28 deletions lib/constants.android.js

This file was deleted.

28 changes: 0 additions & 28 deletions lib/constants.ios.js

This file was deleted.

97 changes: 0 additions & 97 deletions lib/index.js

This file was deleted.

21 changes: 0 additions & 21 deletions lib/types.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"version": "0.7.3",
"description": "Add information on lockscreen and control playing music",
"main": "lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"ios/",
"android/",
Expand Down
7 changes: 5 additions & 2 deletions tsconfig.json
Expand Up @@ -7,7 +7,7 @@
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
"declaration": true /* Generates corresponding '.d.ts' file. */,
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
Expand Down Expand Up @@ -42,7 +42,7 @@
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
// "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */

Expand All @@ -55,5 +55,8 @@
/* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */

// TODO: remove this line when we upgrade react native dependencies
// "skipLibCheck": true
}
}

0 comments on commit 5f14726

Please sign in to comment.