From abc9e7888e231bb97799f660866657c06d400660 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Wed, 12 Oct 2016 14:09:58 +0200 Subject: [PATCH] improve README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 747f67c..409eacf 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ We recommend the use of TypeScript for best Intellisense ```typescript import { LazyModule } from 'smartsystem' -import * as myPluginType from 'myPlugin' // plugin does not get loaded here at runtime -let myPluginLazy = new LazyModule('myPlugin') +import * as _myPlugin from 'myPlugin' // plugin does not get loaded here at runtime +let myPluginLazy = new LazyModule('myPlugin') -import * as anotherPluginType from 'anotherPlugin' // plugin does not get loaded here at runtime -let anotherPluginPromised = LazyModule('anotherPlugin') +import * as _anotherPlugin from 'anotherPlugin' // plugin does not get loaded here at runtime +let anotherPluginPromised = LazyModule('anotherPlugin') myPluginLazy.whenLoaded.then(myPlugin => { /* do something with myPlugin.