DefinitelyTyped/types/react-filepond/tsconfig.json
Zach Posten 42117f4180 Create react-filepond typescript definition test
It currently reports the error:

    ERROR: 22:1  strict-export-declare-modifiers  'declare' keyword is redundant here. See: https://github.com/Microsoft/dtslint/blob/master/docs/strict-export-declare-modifiers.md

        at C:\dev\DefinitelyTyped\node_modules\dtslint\bin\index.js:158:19
        at Generator.next (<anonymous>)
        at fulfilled (C:\dev\DefinitelyTyped\node_modules\dtslint\bin\index.js:5:58)
        at <anonymous>

But if I remove the 'declare' keyword on line 22, I get the error

    A 'declare' modifier is required for a top level declaration in a .d.ts file.

I want to use a class under one name in this file and another name
externally, what do I do here?
2018-12-21 08:47:20 -06:00

26 lines
539 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"jsx": "react",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"react-filepond-tests.tsx"
]
}