mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Added factory.d.ts This enables the modular import of plotly descibere [here](https://github.com/plotly/plotly.js/tree/master/dist#partial-bundles). import Plotly from 'plotly.js-basic-dist' import createPlotlyComponent from 'react-plotly.js/factory'; export const Plot = createPlotlyComponent(Plotly); * Add factory to index This is needed because travis will fail due to unused file error * removal of default * Update index.d.ts * Update index.d.ts * Update tsconfig.json * Update index.d.ts * Add factory test
30 lines
624 B
JSON
30 lines
624 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es6",
|
|
"dom"
|
|
],
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"baseUrl": "../",
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"paths": {
|
|
"d3": [ "d3/v3" ]
|
|
},
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"jsx": "react"
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"factory.d.ts",
|
|
"react-plotly.js-tests.tsx"
|
|
]
|
|
}
|