This commit is contained in:
parent
c3aa48b7d6
commit
dfc0612f26
|
@ -247,3 +247,8 @@ export function registerMyPluginUsageCollector(usageCollection?: UsageCollection
|
|||
usageCollection.registerCollector(myCollector);
|
||||
}
|
||||
```
|
||||
|
||||
### Naming conventions
|
||||
|
||||
Export start and setup contracts as `MyPluginStart` and `MyPluginSetup`.
|
||||
This avoids naming clashes, if everyone exported them simply as `Start` and `Setup`.
|
||||
|
|
Loading…
Reference in a new issue