Last change
on this file since 7deb3e2 was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
765 bytes
|
Rev | Line | |
---|
[57e58a3] | 1 | /**
|
---|
| 2 | * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
|
---|
| 3 | */
|
---|
| 4 | export declare const fromCodePoint: (...codePoints: number[]) => string;
|
---|
| 5 | /**
|
---|
| 6 | * Replace the given code point with a replacement character if it is a
|
---|
| 7 | * surrogate or is outside the valid range. Otherwise return the code
|
---|
| 8 | * point unchanged.
|
---|
| 9 | */
|
---|
| 10 | export declare function replaceCodePoint(codePoint: number): number;
|
---|
| 11 | /**
|
---|
| 12 | * Replace the code point if relevant, then convert it to a string.
|
---|
| 13 | *
|
---|
| 14 | * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
|
---|
| 15 | * @param codePoint The code point to decode.
|
---|
| 16 | * @returns The decoded code point.
|
---|
| 17 | */
|
---|
| 18 | export default function decodeCodePoint(codePoint: number): string;
|
---|
| 19 | //# sourceMappingURL=decode_codepoint.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.