mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
* Add `target: "es2022"` * Add Object.hasOwn * formatToParts is es2018 * ref update * optional parameter * Revert "optional parameter" This reverts commit e67d6e5f6062d72b830893e9988840779cb7fa8c. * undefined * error cause * Lint fix Co-authored-by: Orta <git@orta.io>
8 lines
309 B
TypeScript
8 lines
309 B
TypeScript
interface String {
|
|
/**
|
|
* Returns a new String consisting of the single UTF-16 code unit located at the specified index.
|
|
* @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
|
|
*/
|
|
at(index: number): string | undefined;
|
|
}
|