1.0.3 • Published 6 years ago

public-data-container-interface v1.0.3

Weekly downloads
13
License
FREE
Repository
-
Last release
6 years ago

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 {...}