This commit is contained in:
27
node_modules/yaml-language-server/out/server/test/utils/errorMessages.d.ts
generated
vendored
Normal file
27
node_modules/yaml-language-server/out/server/test/utils/errorMessages.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/**
|
||||
* List of error messages
|
||||
*/
|
||||
/**
|
||||
* Type Errors
|
||||
*/
|
||||
export declare const StringTypeError = "Incorrect type. Expected \"string\".";
|
||||
export declare const NumberTypeError = "Incorrect type. Expected \"number\".";
|
||||
export declare const BooleanTypeError = "Incorrect type. Expected \"boolean\".";
|
||||
export declare const ArrayTypeError = "Incorrect type. Expected \"array\".";
|
||||
export declare const ObjectTypeError = "Incorrect type. Expected \"object\".";
|
||||
export declare const TypeMismatchWarning = "Incorrect type. Expected \"{0}\".";
|
||||
export declare const MissingRequiredPropWarning = "Missing property \"{0}\".";
|
||||
export declare const ConstWarning = "Value must be {0}.";
|
||||
export declare function propertyIsNotAllowed(name: string): string;
|
||||
/**
|
||||
* Parse errors
|
||||
*/
|
||||
export declare const BlockMappingEntryError = "Implicit map keys need to be followed by map values";
|
||||
/**
|
||||
* Value Errors
|
||||
*/
|
||||
export declare const IncludeWithoutValueError = "!include without value";
|
||||
/**
|
||||
* Duplicate Key error
|
||||
*/
|
||||
export declare const DuplicateKeyError = "Map keys must be unique";
|
||||
Reference in New Issue
Block a user