We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Person
Persons
1 parent 7c31865 commit f74b8adCopy full SHA for f74b8ad
1 file changed
src/testing/variables/class.const.ts
@@ -1,6 +1,9 @@
1
+// Constant.
2
import { STRING } from './string.const';
3
import { NUMBER } from './number.const';
4
import { SYMBOL_STRING, SYMBOL_NUMBER } from './strict/symbol.const';
5
+// Interface.
6
+import { Person } from '../interface/person.interface';
7
8
/**
9
* typeof === 'function'
@@ -44,7 +47,7 @@ export class Class {
44
47
export const CLASS = new Class();
45
48
46
49
-export class Person {
50
+export class Persons implements Person {
51
firstName = '';
52
surname = '';
53
age = 15;
@@ -56,5 +59,5 @@ export class PersonCopy {
56
59
57
60
}
58
61
-export const PERSON: Person = new Person();
62
+export const PERSON: Persons = new Persons();
63
export const PERSON_COPY: PersonCopy = new PersonCopy();
0 commit comments