mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
8 years ago
5 changed files with 24 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'includes superclass (#932)' |
|||
}; |
@ -0,0 +1,5 @@ |
|||
export class Base { |
|||
foo () { |
|||
return true; |
|||
} |
|||
} |
@ -0,0 +1,6 @@ |
|||
import { Thing } from './thing'; |
|||
|
|||
const thing = new Thing(); |
|||
|
|||
assert.ok( thing.foo() ); |
|||
assert.ok( thing.bar() ); |
@ -0,0 +1,7 @@ |
|||
import { Base } from './base.js'; |
|||
|
|||
export class Thing extends Base { |
|||
bar () { |
|||
return true; |
|||
} |
|||
} |
Loading…
Reference in new issue