@redocly/openapi-language-server 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +1 -4
- package/lib/index.js +53 -53
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -272,10 +272,7 @@ declare module '@redocly/openapi-language-server/server/completion/yaml/context'
|
|
|
272
272
|
}
|
|
273
273
|
declare module '@redocly/openapi-language-server/server/completion/yaml/insert-snippet-utils' {
|
|
274
274
|
import { type NormalizedNodeType } from '@redocly/openapi-core';
|
|
275
|
-
export type PartialNodeType =
|
|
276
|
-
items?: NormalizedNodeType['items'];
|
|
277
|
-
required?: NormalizedNodeType['required'];
|
|
278
|
-
};
|
|
275
|
+
export type PartialNodeType = Pick<NormalizedNodeType, 'items' | 'required'>;
|
|
279
276
|
function getKeyValue(key: string, type?: PartialNodeType): string;
|
|
280
277
|
function getBeforeKeyValue(key: string, value: string, beforeKey: string, type?: PartialNodeType): string;
|
|
281
278
|
function getAfterKeyValue(key: string): "" | ": ";
|