Skip to content

Commit 37569d2

Browse files
jamarzkaXapphire13
authored andcommitted
fix: import(reflect-metadata) wasn't actually importing the types (microsoft#19)
1 parent f009666 commit 37569d2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ typings/
5959

6060
# Compiled output
6161
dist/
62-
*.d.ts

src/decorators.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import("reflect-metadata");
2-
31
import {INJECTION_TOKEN_METADATA_KEY, getParamInfo} from "./reflection-helpers";
42
import {InjectionToken, Provider} from "./providers";
53
import {RegistrationOptions, constructor} from "./types";

src/reflect-metadata.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "reflect-metadata";

0 commit comments

Comments
 (0)