mobx-devtools-mst: Provides its own types (#39464)

This commit is contained in:
Alexander T
2019-11-04 10:57:54 -08:00
committed by Nathan Shively-Sanders
parent a5c429202f
commit f9adf4245e
5 changed files with 6 additions and 32 deletions
+6
View File
@@ -2478,6 +2478,12 @@
"sourceRepoURL": "https://github.com/will-stone/mobx-cookie",
"asOfVersion": "1.1.1"
},
{
"libraryName": "mobx-devtools-mst",
"typingsPackageName": "mobx-devtools-mst",
"sourceRepoURL": "https://mobxjs.github.io/mobx",
"asOfVersion": "0.9.7"
},
{
"libraryName": "mobx-task",
"typingsPackageName": "mobx-task",
-8
View File
@@ -1,8 +0,0 @@
// 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;
@@ -1,7 +0,0 @@
import makeInspectable = require("mobx-devtools-mst");
const myModel = {
/* some mst instance */
};
makeInspectable(myModel);
-16
View File
@@ -1,16 +0,0 @@
{
"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
@@ -1 +0,0 @@
{ "extends": "dtslint/dt.json" }