Skip to content

Commit

Permalink
add some vscode config to always use workspace ver TS; change meeting…
Browse files Browse the repository at this point in the history
… model def;
  • Loading branch information
adlius committed May 20, 2019
1 parent c5bcd63 commit 332618e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
},
"javascript.preferences.importModuleSpecifier": "non-relative",
"typescript.preferences.importModuleSpecifier": "non-relative",
"typescript.tsdk": "node_modules/typescript/lib",
}
2 changes: 1 addition & 1 deletion app/models/meeting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class MeetingModel extends OsfModel {
@attr('boolean') active!: boolean;
@attr('fixstring') logoUrl!: string;
@attr('object') fieldNames!: object;
@hasMany('meeting-submission') submissions!: DS.PromiseArray<MeetingSubmissionModel>;
@hasMany('meeting-submission') submissions!: DS.PromiseManyArray<MeetingSubmissionModel>;
}

declare module 'ember-data/types/registries/model' {
Expand Down

0 comments on commit 332618e

Please sign in to comment.