Files
tsgo/testdata/baselines/reference/submodule/conformance/canFollowGetSetKeyword.js

37 lines
458 B
TypeScript

//// [tests/cases/conformance/classes/propertyMemberDeclarations/canFollowGetSetKeyword.ts] ////
//// [canFollowGetSetKeyword.ts]
class A {
get
*x() {}
}
class B {
set
*x() {}
}
const c = {
get
*x() {}
};
const d = {
set
*x() {}
};
//// [canFollowGetSetKeyword.js]
"use strict";
class A {
*x() { }
}
class B {
*x() { }
}
const c = {
get,
*x() { }
};
const d = {
set,
*x() { }
};