mirror of
https://github.com/bitwarden/jslib
synced 2025-12-17 16:53:20 +00:00
Add angular-core.noop
This commit is contained in:
15
node/src/angular-core.noop.ts
Normal file
15
node/src/angular-core.noop.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
function noopDecorator(target: any) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function Injectable(...args: any) {
|
||||||
|
return noopDecorator;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function Inject(...args: any) {
|
||||||
|
return noopDecorator;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function InjectionToken(...args: any): void {
|
||||||
|
// Do nothing
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user