Add mobx-devtools-mst (#25537)

This commit is contained in:
Alan Plum
2018-05-04 13:50:15 -07:00
committed by Andy
parent ebf9f31259
commit bfb5a55f83
4 changed files with 32 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
// Type definitions for mobx-devtools-mst 0.9
// Project: https://mobxjs.github.io/mobx
// Definitions by: Alan Plum <https://github.com/pluma>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
declare function makeInspectable(state: object): void;
export = makeInspectable;
@@ -0,0 +1,7 @@
import makeInspectable = require("mobx-devtools-mst");
const myModel = {
/* some mst instance */
};
makeInspectable(myModel);
+16
View File
@@ -0,0 +1,16 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": ["es6"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": ["../"],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": ["index.d.ts", "mobx-devtools-mst-tests.ts"]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }