TypeScript/tests/cases/fourslash/commentsUnion.ts
Brandon Pickering 822962e7b3
Improve documentation for basic array methods (#41961)
* Improve documentation for basic array methods

* Accept baseline changes for new lines from JSDoc changes

Co-authored-by: Orta <git@orta.io>
2021-01-04 10:06:01 +00:00

6 lines
275 B
TypeScript

/// <reference path='fourslash.ts' />
////var a: Array<string> | Array<number>;
////a./*1*/length
verify.quickInfoAt("1", "(property) Array<T>.length: number", "Gets or sets the length of the array. This is a number one higher than the highest index in the array.");