Skip to content

Instantly share code, notes, and snippets.

@danwbyrne
Created October 26, 2018 17:27
Show Gist options
  • Save danwbyrne/0b4ddf7c5313468d6109bfbe3bd41510 to your computer and use it in GitHub Desktop.
Save danwbyrne/0b4ddf7c5313468d6109bfbe3bd41510 to your computer and use it in GitHub Desktop.
Interface Substitution Failure
interface Bar {
readonly bar: 'bar';
}
export interface Foo {
readonly foo: Bar;
}
export * from './parent';
import { Foo } from './child';
interface Bang {
readonly bang: Foo;
}
export interface Fizz {
readonly fizz: Bang;
}
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment