File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 88 *
99 * @typedef {import('../index.js').CompileResultMap } CompileResultMap
1010 * @typedef {import('../index.js').Data } Data
11+ * @typedef {import('../index.js').Settings } Settings
1112 */
1213
1314/**
175176 * They can contain plugins and settings.
176177 * @property {PluggableList | undefined } [plugins]
177178 * List of plugins and presets (optional).
178- * @property {Data | undefined } [settings]
179+ * @property {Settings | undefined } [settings]
179180 * Shared settings for parsers and compilers (optional).
180181 */
181182
Original file line number Diff line number Diff line change 11declare module 'unified' {
22 interface Data {
3+ baz ?: 'qux' | undefined
4+ foo ?: 'bar' | undefined
5+ x ?: boolean | undefined
6+ }
7+
8+ interface Settings {
39 alpha ?: boolean | undefined
410 bar ?: boolean | undefined
5- baz ?: 'qux' | undefined
6- foo ?: 'bar' | boolean | undefined
11+ foo ?: boolean | undefined
712 qux ?: boolean | undefined
8- x ?: boolean | undefined
913 }
1014}
1115
You can’t perform that action at this time.
0 commit comments