Paul 5 år sedan
förälder
incheckning
582c60a538
3 ändrade filer med 9 tillägg och 3 borttagningar
  1. 1
    1
      src/client.ts
  2. 0
    0
      src/types/callback.ts
  3. 8
    2
      tsconfig.json

+ 1
- 1
src/client.ts Visa fil

@@ -1,4 +1,4 @@
1
-import { ReadyStateCallback, RequestCallback } from './callback';
1
+import { ReadyStateCallback, RequestCallback } from './types/callback';
2 2
 import { Packet } from './packet';
3 3
 import { Utils } from './utils';
4 4
 

src/callback.ts → src/types/callback.ts Visa fil


+ 8
- 2
tsconfig.json Visa fil

@@ -7,9 +7,15 @@
7 7
     "alwaysStrict": true,
8 8
     "sourceMap": true,
9 9
     "declaration": true,
10
-    "rootDir": "src",
10
+    "rootDirs": [
11
+      "src",
12
+      "example"
13
+    ],
11 14
     "outDir": "dist/",
12 15
     "declarationDir": "dist/types"
13 16
   },
14
-  "include": ["src/**/*"]
17
+  "include": [
18
+    "src/**/*",
19
+    "example/**/*"
20
+  ]
15 21
 }