DefinitelyTyped/types/raphael/tsconfig.json
Andre Wachsmuth 170c6b25ea
[raphael] Fix typings and update for 2.3 (#43305)
* [raphael] Update and fix typings for Raphael 2.3

* Updated typings for Raphael 2.3
* Replaced Function, object and any with more specific types where possible.
* Merged function overloads where possible.
* Added documentation to all types and methods, based on the [official documentation](https://dmitrybaranovskiy.github.io/raphael/reference.html).
* Added tests for the entire [documented API](https://dmitrybaranovskiy.github.io/raphael/reference.html).
    * There are a few places where the official documentation is obviously wrong, these parts have been modified accordingly.
* Removed all custom tslint-rules from tslint.json and fixed all linting errors.

* [raphael] Fix @link reference: RaphaelElement.image->RaphaelPaper.image

Co-authored-by: Andre Wachsmuth <awa@xima.de>
2020-04-02 10:20:45 -07:00

30 lines
752 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"test/raphael-tests-plugin.ts",
"test/raphael-tests-old.ts",
"test/raphael-tests-official.ts",
"test/raphael-tests-module.ts",
"test/raphael-tests-global.ts",
"test/raphael-tests-api.ts",
"test/raphael-tests-font.ts"
]
}