Skip to content

Commit

Permalink
fix(mvc) - fix build
Browse files Browse the repository at this point in the history
progress #24
  • Loading branch information
Daniel Schaffer committed Feb 27, 2019
1 parent e58e9b9 commit e067420
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/dandi/core/testing.ts

This file was deleted.

2 changes: 2 additions & 0 deletions packages/dandi/core/testing/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { INJECTABLE_REGISTRATION_SOURCE } from '../src/injectable.decorator'
export * from '../src/provider.util'
3 changes: 3 additions & 0 deletions packages/dandi/core/testing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../tsconfig.json"
}
2 changes: 1 addition & 1 deletion packages/dandi/mvc-hal/src/hal-object-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface HalObjectRendererConfig extends ObjectRendererConfig {
@Injectable(ObjectRenderer)
export class HalObjectRenderer extends ObjectRendererBase {

public static accept(types: string): ConfiguredObjectRenderer {
public static accept(...types: string[]): ConfiguredObjectRenderer {
return this.acceptInternal(HalObjectRenderer, types)
}

Expand Down
1 change: 0 additions & 1 deletion packages/dandi/mvc/testing.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/dandi/mvc/testing/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { CONTROLLER_REGISTRATION_SOURCE } from '../src/controller.decorator'
3 changes: 3 additions & 0 deletions packages/dandi/mvc/testing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../tsconfig.json"
}

0 comments on commit e067420

Please sign in to comment.