Commit a1d9e941 authored by nanahira's avatar nanahira

Revert "no split export"

This reverts commit e106b522.
parent b8abd2f5
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 { Apply, Inject, Provide } from '../src/decorators'; import { 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,9 +23,6 @@ class NonImmediateDependency extends StarterPlugin() {} ...@@ -23,9 +23,6 @@ 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