mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
fix: model consistency
This commit is contained in:
@@ -7,10 +7,10 @@ export interface School extends Push {
|
||||
version: number;
|
||||
}
|
||||
|
||||
const schoolTeacher = incrementalNumber();
|
||||
const factorySchool = incrementalNumber();
|
||||
|
||||
export const randSchool = (): School => ({
|
||||
id: schoolTeacher(),
|
||||
id: factorySchool(),
|
||||
name: randCompanyName(),
|
||||
version: 0,
|
||||
type: 'school',
|
||||
|
||||
Reference in New Issue
Block a user