TypeScript/tests/cases/fourslash/getOccurrencesReadonly3.ts
Andrew Branch e82d0af554
Fix readonly occurrences highlighting (#32583)
* Fix readonly occurrences highlighting

* Rename function

* Rename again

* Apply suggestions from code review

Remove unused function
2019-08-02 18:24:46 -07:00

15 lines
326 B
TypeScript

/// <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);