We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 323fdc5 commit c4dc8d4Copy full SHA for c4dc8d4
nativescript-angular/platform.ts
@@ -16,15 +16,15 @@ import {
16
import {
17
COMPILER_OPTIONS,
18
PlatformRef,
19
- OpaqueToken,
+ InjectionToken,
20
+ ViewEncapsulation,
21
createPlatformFactory
22
} from "@angular/core";
23
-// Work around a TS bug requiring an import of OpaqueToken without using it
24
+// Work around a TS bug requiring an imports of InjectionToken and ViewEncapsulation without using them
25
if (global.___TS_UNUSED) {
- (() => {
26
- return OpaqueToken;
27
- })();
+ (() => InjectionToken)();
+ (() => ViewEncapsulation)();
28
}
29
30
// Register DOM adapter, if possible. Dynamic platform only!
0 commit comments