mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Generated svg-intersections files using npx * Added base typings for shape method with conditional second argument type * Added missing types in SvgProperties * Added basic Shape interface * Added types for intersect function * Refactored intersection to interface and added typings to Matrix2D * Linted index.d.ts * Added line test * Added tests for rect, circle, ellipse & polygon * Added test for path * Rectangle rx&ry should be optional * Added intersections test * Replaced unnecessary typeof with generic type
24 lines
498 B
JSON
24 lines
498 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es6"
|
|
],
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"baseUrl": "../",
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"svg-intersections-tests.ts"
|
|
]
|
|
}
|