repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/rest-type/format.test.js | tests/format/typescript/rest-type/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/error-recovery/format.test.js | tests/format/typescript/error-recovery/format.test.js | const errors = {
"babel-ts": ["jsdoc_only_types.ts", "index-signature.ts"],
"oxc-ts": ["jsdoc_only_types.ts", "index-signature.ts"],
};
runFormatTest(import.meta, ["typescript"], { errors });
runFormatTest(import.meta, ["typescript"], { trailingComma: "es5", errors });
runFormatTest(import.meta, ["typescript"], { t... | javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/update-expression/format.test.js | tests/format/typescript/update-expression/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/last-argument-expansion/format.test.js | tests/format/typescript/last-argument-expansion/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/prettier-ignore/format.test.js | tests/format/typescript/prettier-ignore/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/keywords/format.test.js | tests/format/typescript/keywords/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/override-modifiers/format.test.js | tests/format/typescript/override-modifiers/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/semi/format.test.js | tests/format/typescript/semi/format.test.js | runFormatTest(import.meta, ["typescript"], { semi: false });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/predicate-types/format.test.js | tests/format/typescript/predicate-types/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/import-type/format.test.js | tests/format/typescript/import-type/format.test.js | runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], { singleQuote: true });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/import-type/long-module-name/format.test.js | tests/format/typescript/import-type/long-module-name/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/import-type/attributes/format.test.js | tests/format/typescript/import-type/attributes/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/import-type/comma/format.test.js | tests/format/typescript/import-type/comma/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/abstract-construct-types/format.test.js | tests/format/typescript/abstract-construct-types/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/method/format.test.js | tests/format/typescript/method/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/unique-symbol/format.test.js | tests/format/typescript/unique-symbol/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/abstract-property/format.test.js | tests/format/typescript/abstract-property/format.test.js | runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], { semi: false });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/comments-2/format.test.js | tests/format/typescript/comments-2/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
runFormatTest(import.meta, ["typescript", "flow"], { semi: false });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conditional-types/format.test.js | tests/format/typescript/conditional-types/format.test.js | runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], { experimentalTernaries: true });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/nosemi/format.test.js | tests/format/typescript/nosemi/format.test.js | runFormatTest(import.meta, ["typescript"], { semi: false });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/enum/format.test.js | tests/format/typescript/enum/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/assignment/format.test.js | tests/format/typescript/assignment/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/export-default/format.test.js | tests/format/typescript/export-default/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/ambient/format.test.js | tests/format/typescript/ambient/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/abstract-class/format.test.js | tests/format/typescript/abstract-class/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/unknown/format.test.js | tests/format/typescript/unknown/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface2/format.test.js | tests/format/typescript/interface2/format.test.js | runFormatTest(import.meta, ["typescript", "flow"], {
trailingComma: "es5",
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface2/break/format.test.js | tests/format/typescript/interface2/break/format.test.js | runFormatTest(import.meta, ["typescript"], { trailingComma: "none" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "es5" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "all" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface2/comments-ts-and-flow/format.test.js | tests/format/typescript/interface2/comments-ts-and-flow/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/interface2/comments-ts-only/format.test.js | tests/format/typescript/interface2/comments-ts-only/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/end-of-line/format.test.js | tests/format/typescript/end-of-line/format.test.js | runFormatTest(import.meta, ["typescript", "flow"], { endOfLine: "lf" });
runFormatTest(import.meta, ["typescript", "flow"], { endOfLine: "cr" });
runFormatTest(import.meta, ["typescript", "flow"], { endOfLine: "crlf" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/import-require/format.test.js | tests/format/typescript/import-require/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-params/format.test.js | tests/format/typescript/type-params/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-params/print-width-120/format.test.js | tests/format/typescript/type-params/print-width-120/format.test.js | runFormatTest(import.meta, ["typescript"], { printWidth: 120 });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-params/consistent/format.test.js | tests/format/typescript/type-params/consistent/format.test.js | runFormatTest(import.meta, ["typescript", "flow"], {
errors: {
flow: ["template-literal-types.ts"],
hermes: ["template-literal-types.ts"],
},
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-params/trailing-comma/format.test.js | tests/format/typescript/type-params/trailing-comma/format.test.js | runFormatTest(import.meta, ["typescript"], { trailingComma: "none" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "es5" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "all" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/argument-expansion/format.test.js | tests/format/typescript/argument-expansion/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/keyof/format.test.js | tests/format/typescript/keyof/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/class-and-interface/empty/format.test.js | tests/format/typescript/class-and-interface/empty/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/class-and-interface/heritage-break/format.test.js | tests/format/typescript/class-and-interface/heritage-break/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/class-and-interface/long-type-parameters/format.test.js | tests/format/typescript/class-and-interface/long-type-parameters/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/object-multiline/format.test.js | tests/format/typescript/object-multiline/format.test.js | runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], { objectWrap: "collapse" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/trailing-comma/format.test.js | tests/format/typescript/trailing-comma/format.test.js | runFormatTest(import.meta, ["typescript"], { trailingComma: "all" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "es5" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "none" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/comments/format.test.js | tests/format/typescript/comments/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/satisfies-operators/format.test.js | tests/format/typescript/satisfies-operators/format.test.js | runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], { semi: false });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/definite/format.test.js | tests/format/typescript/definite/format.test.js | runFormatTest(import.meta, ["babel-ts"], {
errors: { typescript: ["asi.ts", "definite.ts", "without-annotation.ts"] },
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/infer-extends/format.test.js | tests/format/typescript/infer-extends/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/index-signature/format.test.js | tests/format/typescript/index-signature/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/optional-variance/format.test.js | tests/format/typescript/optional-variance/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/instantiation-expression/format.test.js | tests/format/typescript/instantiation-expression/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/array/format.test.js | tests/format/typescript/array/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/class/format.test.js | tests/format/typescript/class/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/intersection/format.test.js | tests/format/typescript/intersection/format.test.js | runFormatTest(import.meta, ["typescript"]);
runFormatTest(import.meta, ["typescript"], { semi: false });
runFormatTest(import.meta, ["typescript"], {
experimentalOperatorPosition: "start",
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/intersection/mutiple-comments/format.test.js | tests/format/typescript/intersection/mutiple-comments/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/intersection/consistent-with-flow/format.test.js | tests/format/typescript/intersection/consistent-with-flow/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/private-fields-in-in/format.test.js | tests/format/typescript/private-fields-in-in/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-arguments-bit-shift-left-like/format.test.js | tests/format/typescript/type-arguments-bit-shift-left-like/format.test.js | runFormatTest(import.meta, ["typescript"], {
errors: { typescript: ["3.ts", "5.tsx"], "oxc-ts": ["3.ts", "5.tsx"] },
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/ternaries/format.test.js | tests/format/typescript/ternaries/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/decorators-ts/format.test.js | tests/format/typescript/decorators-ts/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/rest/format.test.js | tests/format/typescript/rest/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/export/format.test.js | tests/format/typescript/export/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/module/format.test.js | tests/format/typescript/module/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/arrows/format.test.js | tests/format/typescript/arrows/format.test.js | runFormatTest(import.meta, ["typescript", "flow"], { arrowParens: "always" });
runFormatTest(import.meta, ["typescript", "flow"], { arrowParens: "avoid" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/as/format.test.js | tests/format/typescript/as/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/as/break-after-keyword/format.test.js | tests/format/typescript/as/break-after-keyword/format.test.js | runFormatTest(import.meta, ["typescript", "flow"], {
errors: { hermes: ["18148.ts"] },
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/as/comments/format.test.js | tests/format/typescript/as/comments/format.test.js | runFormatTest(import.meta, ["typescript", "flow"], {
errors: { hermes: ["18160.ts"] },
});
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/as/as-const/format.test.js | tests/format/typescript/as/as-const/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/classes/format.test.js | tests/format/typescript/classes/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/declare/format.test.js | tests/format/typescript/declare/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/declare/trailing-comma/format.test.js | tests/format/typescript/declare/trailing-comma/format.test.js | runFormatTest(import.meta, ["typescript"], { trailingComma: "es5" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "none" });
runFormatTest(import.meta, ["typescript"], { trailingComma: "all" });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/function/format.test.js | tests/format/typescript/function/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/symbol/format.test.js | tests/format/typescript/symbol/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/import-export/format.test.js | tests/format/typescript/import-export/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/class-comment/format.test.js | tests/format/typescript/class-comment/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/literal/format.test.js | tests/format/typescript/literal/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/mapped-type/format.test.js | tests/format/typescript/mapped-type/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/mapped-type/break-mode/format.test.js | tests/format/typescript/mapped-type/break-mode/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/const/format.test.js | tests/format/typescript/const/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/decorator-auto-accessors/format.test.js | tests/format/typescript/decorator-auto-accessors/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/decorator-auto-accessors/no-semi/format.test.js | tests/format/typescript/decorator-auto-accessors/no-semi/format.test.js | runFormatTest(import.meta, ["typescript"], { semi: false });
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/intrinsic/format.test.js | tests/format/typescript/intrinsic/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/type-alias/format.test.js | tests/format/typescript/type-alias/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/union/format.test.js | tests/format/typescript/union/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/union/consistent-with-flow/format.test.js | tests/format/typescript/union/consistent-with-flow/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/union/comments/format.test.js | tests/format/typescript/union/comments/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/union/single-type/format.test.js | tests/format/typescript/union/single-type/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/optional-method/format.test.js | tests/format/typescript/optional-method/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/non-null/format.test.js | tests/format/typescript/non-null/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/never/format.test.js | tests/format/typescript/never/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/optional-chaining/format.test.js | tests/format/typescript/optional-chaining/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/typeof-this/format.test.js | tests/format/typescript/typeof-this/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/functional-composition/format.test.js | tests/format/typescript/functional-composition/format.test.js | runFormatTest(import.meta, ["typescript", "flow"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/es6/Symbols/format.test.js | tests/format/typescript/conformance/es6/Symbols/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/es6/templates/format.test.js | tests/format/typescript/conformance/es6/templates/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/interfaces/interfaceDeclarations/format.test.js | tests/format/typescript/conformance/interfaces/interfaceDeclarations/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/types/typeParameter/format.test.js | tests/format/typescript/conformance/types/typeParameter/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/types/tuple/format.test.js | tests/format/typescript/conformance/types/tuple/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/types/tuple/emptyTuples/format.test.js | tests/format/typescript/conformance/types/tuple/emptyTuples/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/types/enumDeclaration/format.test.js | tests/format/typescript/conformance/types/enumDeclaration/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
prettier/prettier | https://github.com/prettier/prettier/blob/ae0e00df55d47274cc53db8d2cdcd064849e088d/tests/format/typescript/conformance/types/undefined/format.test.js | tests/format/typescript/conformance/types/undefined/format.test.js | runFormatTest(import.meta, ["typescript"]);
| javascript | MIT | ae0e00df55d47274cc53db8d2cdcd064849e088d | 2026-01-04T14:57:20.107180Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.