Skip to content

Commit 6c5169e

Browse files
committed
chore(switch): angular build fix
1 parent 1286539 commit 6c5169e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/switch/angular/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export class MaterialSwitchDirective {}
1111
})
1212
export class NativeScriptMaterialSwitchModule {}
1313

14-
registerElement('MDSwitch', () => ProSwitchgress);
14+
registerElement('MDSwitch', () => Switch);

src/switch/angular/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"paths": {
66
"@nativescript-community/ui-material-core": ["packages/core/index"],
77
"@nativescript-community/ui-material-core/*": ["packages/core/*"],
8-
"@nativescript-community/ui-material-switch": ["packages/switch/switch"],
8+
"@nativescript-community/ui-material-switch": ["packages/switch/index"],
99
"@nativescript-community/ui-material-switch/*": ["packages/switch/*"]
1010
}
1111
},

0 commit comments

Comments
 (0)