mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
@@ -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