mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
ae582a22ee
* Add `target: "es2022"`
* Add Object.hasOwn
* formatToParts is es2018
* ref update
* optional parameter
* Revert "optional parameter"
This reverts commit e67d6e5f60.
* 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;
|
|
}
|