diff options
author | Minteck <contact@minteck.org> | 2022-06-04 08:51:19 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-06-04 08:51:19 +0200 |
commit | b22f6770c8bd084d66950655203c61dd701b3d90 (patch) | |
tree | 873d7fb19584ec2709b95cc1ca05a1fc7cfd0fc4 /node_modules/yaml/dist/nodes/YAMLMap.d.ts | |
parent | 383285ecd5292bf9a825e05904955b937de84cc9 (diff) | |
download | equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.gz equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.bz2 equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.zip |
Remove node_modules
Diffstat (limited to 'node_modules/yaml/dist/nodes/YAMLMap.d.ts')
-rw-r--r-- | node_modules/yaml/dist/nodes/YAMLMap.d.ts | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/yaml/dist/nodes/YAMLMap.d.ts b/node_modules/yaml/dist/nodes/YAMLMap.d.ts deleted file mode 100644 index f13d7e5..0000000 --- a/node_modules/yaml/dist/nodes/YAMLMap.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { BlockMap, FlowCollection } from '../parse/cst.js'; -import type { Schema } from '../schema/Schema.js'; -import type { StringifyContext } from '../stringify/stringify.js'; -import { Collection } from './Collection.js'; -import { ParsedNode, Range } from './Node.js'; -import { Pair } from './Pair.js'; -import type { ToJSContext } from './toJS.js'; -export declare function findPair<K = unknown, V = unknown>(items: Iterable<Pair<K, V>>, key: unknown): Pair<K, V> | undefined; -export declare namespace YAMLMap { - interface Parsed<K extends ParsedNode = ParsedNode, V extends ParsedNode | null = ParsedNode | null> extends YAMLMap<K, V> { - items: Pair<K, V>[]; - range: Range; - srcToken?: BlockMap | FlowCollection; - } -} -export declare class YAMLMap<K = unknown, V = unknown> extends Collection { - static get tagName(): 'tag:yaml.org,2002:map'; - items: Pair<K, V>[]; - constructor(schema?: Schema); - /** - * Adds a value to the collection. - * - * @param overwrite - If not set `true`, using a key that is already in the - * collection will throw. Otherwise, overwrites the previous value. - */ - add(pair: Pair<K, V> | { - key: K; - value: V; - }, overwrite?: boolean): void; - delete(key: K): boolean; - get(key: K, keepScalar?: boolean): unknown; - has(key: K): boolean; - set(key: K, value: V): void; - /** - * @param ctx - Conversion context, originally set in Document#toJS() - * @param {Class} Type - If set, forces the returned collection type - * @returns Instance of Type, Map, or Object - */ - toJSON<T = unknown>(_?: unknown, ctx?: ToJSContext, Type?: { - new (): T; - }): any; - toString(ctx?: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string; -} |