main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
600 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { ErrorType, errorMessages } from "./errors";
|
---|
| 2 | export { ErrorType, errorMessages };
|
---|
| 3 | /**
|
---|
| 4 | * Replace raw escape character strings with their escape characters.
|
---|
| 5 | * @param raw A string where escape characters are represented as raw string
|
---|
| 6 | * values like `\'` rather than `'`.
|
---|
| 7 | * @param allowOctals If `true`, will process the now-deprecated octal escape
|
---|
| 8 | * sequences (ie, `\111`).
|
---|
| 9 | * @returns The processed string, with escape characters replaced by their
|
---|
| 10 | * respective actual Unicode characters.
|
---|
| 11 | */
|
---|
| 12 | export declare function unraw(raw: string, allowOctals?: boolean): string;
|
---|
| 13 | export default unraw;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.