11 lines
198 B
TypeScript
11 lines
198 B
TypeScript
|
class ServiceBase<T> {
|
||
|
field: T;
|
||
|
}
|
||
|
class Service extends ServiceBase<typeof Service.Base> {
|
||
|
}
|
||
|
namespace Service {
|
||
|
export const Base = {
|
||
|
name: "1",
|
||
|
value: 5
|
||
|
};
|
||
|
}
|