TypeScript/tests/cases/fourslash/getOccurrencesReadonly3.ts

15 lines
326 B
TypeScript
Raw Normal View History

/// <reference path="fourslash.ts" />
////class C {
//// [|readonly|] prop: /**/readonly string[] = [];
//// constructor([|readonly|] prop2: string) {
//// class D {
//// readonly prop: string = "";
//// }
//// }
////}
verify.rangesAreOccurrences(false);
goTo.marker();
verify.occurrencesAtPositionCount(1);