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 const bar = 'bang'; | |
const sc1 = 'bar'; | |
const foo = sc1; | |
const fizz = { foo: foo }; | |
export { fizz }; |
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 { tsUtils } from '@neo-one/ts-utils'; | |
import * as fs from 'fs-extra'; | |
import path from 'path'; | |
import ts from 'typescript'; | |
import { Concatenator } from './Concatenator'; | |
export type SymbolAndSources = { readonly [Symbol in string]: string }; | |
export type SourceFileSymbolAndSources = { readonly [SourceFile in string]: SymbolAndSources }; | |
export function concatenate(entry: 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
const directorySeparator = '/'; | |
const backslashRegExp = /\\/g; | |
export function normalizePath(path: string): string { | |
return path.replace(backslashRegExp, directorySeparator); | |
} | |
import { pascalCase } from "change-case"; | |
export const upperCaseFirst = pascalCase; | |
import { iif, Observable, throwError, timer, Observer, Subscriber, Subscription } from "rxjs"; | |
import { concatMap, retryWhen } from "rxjs/operators"; | |
export interface RetryBackoffConfig { |
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 { Foo } from '/Users/danielbyrne/neo-one/packages/neo-one-typescript-concatenator/src/__data__/test-directories/interfaces/base/child.ts'; | |
interface Bang { | |
readonly bang: Foo; | |
} | |
export interface Fizz { | |
readonly fizz: Bang; | |
} |
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
const s55 = 'bar'; | |
const bar = s55; | |
const fizz = 'bang'; | |
const sc1 = bar; | |
export const foo = sc1; | |
const fizz = 'bang'; | |
const parent = 'parent'; |
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
const barInternal = 'bar'; | |
const bangInternal = 'bang'; | |
export const bar = barInternal; | |
const bang = bangInternal; | |
const fooInternal = 'foo'; | |
const fizzInternal = 'fizz'; | |
export const foo = fooInternal; | |
const fizz = fizzInternal; | |
export const newFizz = fizz; | |
export const newBang = bang; |
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 { Bar, bar } from './Bar'; | |
export function Foo(value: Bar): boolean { | |
if (value.fizz === bar.fizz) { | |
return true; | |
} | |
return false; | |
} |
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 interface Foo {} | |
export class Bar { | |
public constructor() { | |
// | |
} | |
public do(): Foo { | |
return {}; | |
} | |
} |
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 { merge, Observable, Observer } from 'rxjs'; | |
import { distinctUntilChanged, filter, scan } from 'rxjs/internal/operators'; | |
import { map } from 'rxjs/operators'; | |
import { unless } from '../shared/operators'; | |
export interface KeyEvent { | |
readonly keyCode: number; | |
} | |
export const keyEventStream = ( |
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":"unhandled_rejection","level":"error","message":"Unhandled rejection. Shutting down. IO error: C:\\Users\\Dan\\AppData\\Local\\neo-one\\Data\\plugin\\neo-one-server-plugin-network\\network\\manager\\resources\\neo-one-playground-local-42ad9c06-43c8-4c93-a375-9c454a3d0380\\nodes\\neo-one-playground-local-42ad9c06-43c8-4c93-a375-9c454a3d0380-0\\chain\\data/MANIFEST-000001: The system cannot find the path specified.\r\n","labels":{"error":true,"error.kind":"Error","service":"cli","component":"cli"},"data":{},"stack":"OpenError: IO error: C:\\Users\\Dan\\AppData\\Local\\neo-one\\Data\\plugin\\neo-one-server-plugin-network\\network\\manager\\resources\\neo-one-playground-local-42ad9c06-43c8-4c93-a375-9c454a3d0380\\nodes\\neo-one-playground-local-42ad9c06-43c8-4c93-a375-9c454a3d0380-0\\chain\\data/MANIFEST-000001: The system cannot find the path specified.\r\n\n at C:\\Users\\Dan\\Desktop\\neo-one-playground\\node_modules\\levelup\\lib\\levelup.js:87:23\n at C:\\Users\\Dan\\Desktop\\neo-one-playground |