Merge branch 'master' of github.com:spotify/backstage into mob/docusaurus-structure

This commit is contained in:
Ivan Shmidt
2020-08-13 10:15:01 +02:00
22 changed files with 222 additions and 52 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ A good pattern for reading optional configuration values is to use the `??`
operator. For example:
```ts
const title = config.getString('my-plugin.title') ?? 'My Plugin';
const title = config.getOptionalString('my-plugin.title') ?? 'My Plugin';
```
To read required configuration, simply use the methods without `Optional`, for