mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
21 lines
221 B
JavaScript
21 lines
221 B
JavaScript
declare class C {
|
|
static [[foo]]: T
|
|
}
|
|
declare class C {
|
|
[[foo]]: T
|
|
}
|
|
interface I1 {
|
|
[[foo]]: X
|
|
}
|
|
interface I2 {
|
|
[[foo]](): X
|
|
}
|
|
type T1 = {
|
|
[[foo]]: X
|
|
};
|
|
type T2 = {
|
|
[[foo]](): X
|
|
};
|
|
type T3 = {
|
|
[[foo]]?: X
|
|
}; |