Skip to content

Commit

Permalink
[#406][#412] Fix 3 frint Typescript Errors (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw authored and fahad19 committed Jun 25, 2018
1 parent 0c8dfec commit 94e9979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/frint/src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class App {
}));
}

public registerApp(appClass: AppClass, opts: RegisterAppOptions = {}) {
public registerApp(appClass: AppClass = App, opts: RegisterAppOptions = {}) {
const options = {
multi: false,
...opts,
Expand Down
2 changes: 1 addition & 1 deletion packages/frint/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default as createApp } from './createApp';
export { App, FrintProvider } from './App';
export { App, AppClass, FrintProvider } from './App';

0 comments on commit 94e9979

Please sign in to comment.