mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
293 B
TypeScript
14 lines
293 B
TypeScript
//// [tests/cases/conformance/classes/members/privateNames/privateNamesNotAllowedAsParameters.ts] ////
|
|
|
|
//// [privateNamesNotAllowedAsParameters.ts]
|
|
class A {
|
|
setFoo(#foo: string) {}
|
|
}
|
|
|
|
|
|
//// [privateNamesNotAllowedAsParameters.js]
|
|
"use strict";
|
|
class A {
|
|
setFoo(#foo) { }
|
|
}
|