Commit e106b522 authored by nanahira's avatar nanahira

no split export

parent ccf387f8
// export * from './src/decorators'; export * from './src/decorators';
export * from './src/def'; export * from './src/def';
export * from './src/plugin-def'; export * from './src/plugin-def';
export * from './src/registrar'; export * from './src/registrar';
......
import { Inject, Provide } from '../src/decorators'; import { Apply, Inject, Provide } from '../src/decorators';
import { DefinePlugin, StarterPlugin } from './utility/decorators'; import { DefinePlugin, StarterPlugin } from './utility/decorators';
import { LifecycleEvents } from '../src/plugin-def'; import { LifecycleEvents } from '../src/plugin-def';
import { Context } from 'cordis'; import { Context } from 'cordis';
...@@ -23,6 +23,9 @@ class NonImmediateDependency extends StarterPlugin() {} ...@@ -23,6 +23,9 @@ class NonImmediateDependency extends StarterPlugin() {}
@Provide('myPlugin', { immediate: true }) @Provide('myPlugin', { immediate: true })
@DefinePlugin() @DefinePlugin()
class TestingBase extends StarterPlugin() implements LifecycleEvents { class TestingBase extends StarterPlugin() implements LifecycleEvents {
@Apply()
onApply2() {}
onApply() { onApply() {
this.applied = true; this.applied = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment