8 lines
336 B
TypeScript
8 lines
336 B
TypeScript
/**
|
|
* Replace the given code point with a replacement character if it is a
|
|
* surrogate or is outside the valid range. Otherwise return the code
|
|
* point unchanged.
|
|
* @param codePoint Unicode code point to convert.
|
|
*/
|
|
export declare function replaceCodePoint(codePoint: number): number;
|
|
//# sourceMappingURL=decode-codepoint.d.ts.map
|