mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 12:19:30 +08:00
13 lines
No EOL
469 B
Text
13 lines
No EOL
469 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getTypeArguments = void 0;
|
|
function getTypeArguments(type, checker) {
|
|
var _a;
|
|
// getTypeArguments was only added in TS3.7
|
|
if (checker.getTypeArguments) {
|
|
return checker.getTypeArguments(type);
|
|
}
|
|
return (_a = type.typeArguments) !== null && _a !== void 0 ? _a : [];
|
|
}
|
|
exports.getTypeArguments = getTypeArguments;
|
|
//# sourceMappingURL=getTypeArguments.js.map |