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