1.0.3 • Published 6 years ago
public-data-container-interface v1.0.3
It's just a TypeScript interface with 1 property: 'data'
To include in your project:
import { IPublicDataContainer } from 'public-data-container-interface/IPublicDataContainer'
Usage examples:
export class ArrayContainerClass implements IPublicDataContainer<any[]> {...}
export class StringContainerClass implements IPublicDataContainer {...}