Add type aliases #10

Merged
adrianheine merged 1 commit from typeAliases into master 2019-04-06 08:48:10 +02:00
adrianheine commented 2019-04-05 21:19:27 +02:00 (Migrated from github.com)

Example data:

{
  "RangeFilter": {
    "type": "type",
    "value": {
      "type": "Function",
      "returns": {
        "type": "bool",
        "loc": {
          "line": 1,
          "column": 66,
          "file": "test/cases/type_alias.ts"
        },
        "id": "RangeFilter^returns"
      },
      "params": [
        {
          "type": "number",
          "loc": {
            "line": 1,
            "column": 30,
            "file": "test/cases/type_alias.ts"
          },
          "id": "RangeFilter^from",
          "name": "from"
        },
        {
          "type": "number",
          "loc": {
            "line": 1,
            "column": 44,
            "file": "test/cases/type_alias.ts"
          },
          "id": "RangeFilter^to",
          "name": "to"
        },
        {
          "type": "T",
          "loc": {
            "line": 1,
            "column": 56,
            "file": "test/cases/type_alias.ts"
          },
          "id": "RangeFilter^value",
          "name": "value"
        }
      ],
      "loc": {
        "line": 1,
        "column": 29,
        "file": "test/cases/type_alias.ts"
      },
      "typeParams": [
        {
          "type": "T",
          "loc": {
            "line": 1,
            "column": 24,
            "file": "test/cases/type_alias.ts"
          }
        }
      ]
    },
    "loc": {
      "line": 1,
      "column": 0,
      "file": "test/cases/type_alias.ts"
    },
    "id": "RangeFilter",
    "exported": true
  }
}
Example data: ```js { "RangeFilter": { "type": "type", "value": { "type": "Function", "returns": { "type": "bool", "loc": { "line": 1, "column": 66, "file": "test/cases/type_alias.ts" }, "id": "RangeFilter^returns" }, "params": [ { "type": "number", "loc": { "line": 1, "column": 30, "file": "test/cases/type_alias.ts" }, "id": "RangeFilter^from", "name": "from" }, { "type": "number", "loc": { "line": 1, "column": 44, "file": "test/cases/type_alias.ts" }, "id": "RangeFilter^to", "name": "to" }, { "type": "T", "loc": { "line": 1, "column": 56, "file": "test/cases/type_alias.ts" }, "id": "RangeFilter^value", "name": "value" } ], "loc": { "line": 1, "column": 29, "file": "test/cases/type_alias.ts" }, "typeParams": [ { "type": "T", "loc": { "line": 1, "column": 24, "file": "test/cases/type_alias.ts" } } ] }, "loc": { "line": 1, "column": 0, "file": "test/cases/type_alias.ts" }, "id": "RangeFilter", "exported": true } } ```
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
marijn/builddocs!10
No description provided.