[plugin-transform-typescript] Strip type imports used in Enums and object types (#9605)
* fix: strip type imports used in Enums and object types * chore: update failing snapshot * docs: correct TSPropertySignature comment * fix: enum value should be considered a reference * chore: add tests for TSPropertySignature and TSEnumMember
This commit is contained in:
committed by
Nicolò Ribaudo
parent
98ab1b6428
commit
d72f3aa758
@@ -22,10 +22,8 @@ function () {
|
||||
key: "invite",
|
||||
value: function invite() {
|
||||
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
return function () {
|
||||
var privacy = options.privacy || "Private";
|
||||
console.log(this);
|
||||
}.apply(this);
|
||||
var privacy = options.privacy || "Private";
|
||||
console.log(this);
|
||||
}
|
||||
}]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user