mirror of
https://github.com/documentationjs/documentation.git
synced 2025-12-08 18:23:43 +00:00
BREAKING CHANGE: This moves documentation.js to Babel 7. From now on, documentation.js will only support Babel 7: please stick to older releases if you need to support Babel 6. Additionally, this work temporarily disables support for following dynamic imports.
7 lines
142 B
JavaScript
7 lines
142 B
JavaScript
// @flow
|
|
|
|
/** foo */
|
|
const foo: { prop1?: { prop2?: string } } = { prop1: { prop2: 'value' } };
|
|
/** value */
|
|
const value = foo?.prop1?.prop2;
|