@typespec/prettier-plugin-typespec 0.46.0-dev.0 → 0.46.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -902,7 +902,7 @@ var SyntaxKind;
|
|
|
902
902
|
SyntaxKind[SyntaxKind["ProjectionStatement"] = 80] = "ProjectionStatement";
|
|
903
903
|
SyntaxKind[SyntaxKind["ProjectionDecoratorReferenceExpression"] = 81] = "ProjectionDecoratorReferenceExpression";
|
|
904
904
|
SyntaxKind[SyntaxKind["Return"] = 82] = "Return";
|
|
905
|
-
})(SyntaxKind
|
|
905
|
+
})(SyntaxKind || (SyntaxKind = {}));
|
|
906
906
|
var IdentifierKind;
|
|
907
907
|
(function (IdentifierKind) {
|
|
908
908
|
IdentifierKind[IdentifierKind["TypeReference"] = 0] = "TypeReference";
|
|
@@ -911,7 +911,7 @@ var IdentifierKind;
|
|
|
911
911
|
IdentifierKind[IdentifierKind["Using"] = 3] = "Using";
|
|
912
912
|
IdentifierKind[IdentifierKind["Declaration"] = 4] = "Declaration";
|
|
913
913
|
IdentifierKind[IdentifierKind["Other"] = 5] = "Other";
|
|
914
|
-
})(IdentifierKind
|
|
914
|
+
})(IdentifierKind || (IdentifierKind = {}));
|
|
915
915
|
const NoTarget = Symbol.for("NoTarget");
|
|
916
916
|
var ListenerFlow;
|
|
917
917
|
(function (ListenerFlow) {
|
|
@@ -919,7 +919,7 @@ var ListenerFlow;
|
|
|
919
919
|
* Do not navigate any containing or referenced type.
|
|
920
920
|
*/
|
|
921
921
|
ListenerFlow[ListenerFlow["NoRecursion"] = 1] = "NoRecursion";
|
|
922
|
-
})(ListenerFlow
|
|
922
|
+
})(ListenerFlow || (ListenerFlow = {}));
|
|
923
923
|
|
|
924
924
|
const globalLibraryUrlsLoadedSym = Symbol.for("TYPESPEC_LIBRARY_URLS_LOADED");
|
|
925
925
|
if (globalThis[globalLibraryUrlsLoadedSym] === undefined) {
|
|
@@ -2019,7 +2019,7 @@ var Token;
|
|
|
2019
2019
|
/** @internal */ Token[Token["__EndKeyword"] = 72] = "__EndKeyword";
|
|
2020
2020
|
///////////////////////////////////////////////////////////////
|
|
2021
2021
|
/** @internal */ Token[Token["__Count"] = 72] = "__Count";
|
|
2022
|
-
})(Token
|
|
2022
|
+
})(Token || (Token = {}));
|
|
2023
2023
|
/** @internal */
|
|
2024
2024
|
const TokenDisplay = getTokenDisplayTable([
|
|
2025
2025
|
[Token.None, "none"],
|
|
@@ -2132,7 +2132,7 @@ var TokenFlags;
|
|
|
2132
2132
|
TokenFlags[TokenFlags["NonAscii"] = 8] = "NonAscii";
|
|
2133
2133
|
TokenFlags[TokenFlags["DocComment"] = 16] = "DocComment";
|
|
2134
2134
|
TokenFlags[TokenFlags["Backticked"] = 32] = "Backticked";
|
|
2135
|
-
})(TokenFlags
|
|
2135
|
+
})(TokenFlags || (TokenFlags = {}));
|
|
2136
2136
|
function isTrivia(token) {
|
|
2137
2137
|
return token >= Token.__StartTrivia && token < Token.__EndTrivia;
|
|
2138
2138
|
}
|
|
@@ -6404,12 +6404,11 @@ var formatter = /*#__PURE__*/Object.freeze({
|
|
|
6404
6404
|
printers: printers
|
|
6405
6405
|
});
|
|
6406
6406
|
|
|
6407
|
-
const TypeSpecPrettierPlugin
|
|
6407
|
+
const TypeSpecPrettierPlugin = formatter;
|
|
6408
6408
|
|
|
6409
6409
|
/**
|
|
6410
6410
|
* Reexport the bare minimum for rollup to do the tree shaking.
|
|
6411
6411
|
*/
|
|
6412
|
-
var TypeSpecPrettierPlugin = TypeSpecPrettierPlugin$1;
|
|
6413
6412
|
|
|
6414
6413
|
module.exports = TypeSpecPrettierPlugin;
|
|
6415
6414
|
//# sourceMappingURL=index.js.map
|