improve README

This commit is contained in:
Philipp Kunz 2016-10-12 14:15:27 +02:00
parent d3b4a252e9
commit cd7361bb96

View File

@ -27,7 +27,7 @@ import * as _myPlugin from 'myPlugin' // plugin does not get loaded here at runt
let myPluginLazy = new LazyModule<typeof _myPlugin>('myPlugin')
import * as _anotherPlugin from 'anotherPlugin' // plugin does not get loaded here at runtime
let anotherPluginPromised = LazyModule<typeof _anotherPlugin>('anotherPlugin')
let anotherPluginLazy = new LazyModule<typeof _anotherPlugin>('anotherPlugin')
myPluginLazy.whenLoaded.then(myPlugin => {
/* do something with myPlugin.