1 parent
1e351436da
commit
bcc3eb9272
4 files changed
+40
No files matched your search
@@ -26,6 +26,13 @@ module.exports = function(fork) {
|
||||
|
||||
def("TSType").bases("Node");
|
||||
|
||||
def("TSTupleType")
|
||||
.build("elementTypes")
|
||||
.field("elementTypes", [def("TSType")])
|
||||
.bases("Node");
|
||||
|
||||
def("TSArrayType").bases("Node");
|
||||
|
||||
def("TypeElement").bases("Node");
|
||||
|
||||
def("TSSignature")
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`tuple.ts 1`] = `
|
||||
|
||||
export type SCMRawResource = [
|
||||
number /*handle*/,
|
||||
string /*resourceUri*/,
|
||||
modes.Command /*command*/,
|
||||
string[] /*icons: light, dark*/,
|
||||
boolean /*strike through*/,
|
||||
boolean /*faded*/
|
||||
];
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
export type SCMRawResource = [
|
||||
number /*handle*/,
|
||||
string /*resourceUri*/,
|
||||
modes.Command /*command*/,
|
||||
string[] /*icons: light, dark*/,
|
||||
boolean /*strike through*/,
|
||||
boolean /*faded*/
|
||||
];
|
||||
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
run_spec(__dirname, { parser: "typescript" });
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
export type SCMRawResource = [
|
||||
number /*handle*/,
|
||||
string /*resourceUri*/,
|
||||
modes.Command /*command*/,
|
||||
string[] /*icons: light, dark*/,
|
||||
boolean /*strike through*/,
|
||||
boolean /*faded*/
|
||||
];
|
||||
Reference in new issue
Block a user