This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "giltype", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"devDependencies": { | |
"typescript": "^3.8.3" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function funci() { | |
return "AHH HHHHAAA"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Entity, | |
JoinColumn, | |
ManyToOne, | |
Column, | |
PrimaryGeneratedColumn, | |
ManyToMany, | |
JoinTable, | |
OneToMany, | |
CreateDateColumn, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import fs from "fs"; | |
console.log(React, fs, __filename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/dominictarr/JSONStream | |
// @ts-ignore | |
import JSONStream from "JSONStream"; | |
import { Observable } from "rxjs"; | |
class Bla { | |
public creativesOfChannelV4StreamEndpoint<T=any>( | |
channel: T, | |
brandId: string, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Cannot re-export a type when the '--isolatedModules' flag is provided.ts(1205) | |
export { IMyInterface } from "./types" | |
// this works! | |
import { IMyInterface as IMyInterfaceForExport } from "./types" | |
export type IMyInterface = IMyInterfaceForExport; | |
// And Also: | |
export type IMyInterface2 = import("./types").IMyInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | |
var id = 0; | |
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; } | |
class Person { | |
constructor() { | |
Object.defineProperty(this, _increaseAge, { | |
value: _increaseAge2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── node_modules | |
│ └── @types | |
│ ├── fs-extra | |
│ │ ├── LICENSE | |
│ │ ├── README.md | |
│ │ ├── index.d.ts | |
│ │ ├── node_modules | |
│ │ │ └── @types | |
│ │ │ └── node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── node_modules | |
│ └── @types | |
│ ├── fs-extra | |
│ │ ├── LICENSE | |
│ │ ├── README.md | |
│ │ ├── index.d.ts | |
│ │ └── package.json | |
│ └── node | |
│ ├── LICENSE |