UNPKG

bc-minecraft-bedrock-types

Version:

The typescript library that provides default types for minecraft bedrock

15 lines (14 loc) 430 B
/** * Finds the first index of a character in a string that is a comma or the end of the string * @param text * @returns */ export declare function findCommaOrEnd(text: string): number; export declare function trimBraces(text: string): string; /** * Parses the items of an array or object * @param text * @param offset * @returns */ export declare function trimWithOffset(text: string, offset: number): [string, number];