Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
parcel-app/client/dtos.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44 lines (35 sloc)
921 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Options: | |
Date: 2020-06-13 21:45:18 | |
Version: 5.8 | |
Tip: To override a DTO option, remove "//" prefix before updating | |
BaseUrl: https://localhost:5001 | |
//GlobalNamespace: | |
//MakePropertiesOptional: False | |
//AddServiceStackTypes: True | |
//AddResponseStatus: False | |
//AddImplicitVersion: | |
//AddDescriptionAsComments: True | |
//IncludeTypes: | |
//ExcludeTypes: | |
//DefaultImports: | |
*/ | |
export interface IReturn<T> | |
{ | |
createResponse(): T; | |
} | |
export interface IReturnVoid | |
{ | |
createResponse(): void; | |
} | |
export class HelloResponse | |
{ | |
public result: string; | |
public constructor(init?: Partial<HelloResponse>) { (Object as any).assign(this, init); } | |
} | |
export class Hello implements IReturn<HelloResponse> | |
{ | |
public name: string; | |
public constructor(init?: Partial<Hello>) { (Object as any).assign(this, init); } | |
public createResponse() { return new HelloResponse(); } | |
public getTypeName() { return 'Hello'; } | |
} | |