7 lines
189 B
TypeScript
7 lines
189 B
TypeScript
|
import { JsonSerializer, throwError } from 'typescript-json-serializer';
|
||
|
|
||
|
export default new JsonSerializer({
|
||
|
errorCallback: throwError,
|
||
|
additionalPropertiesPolicy: 'disallow',
|
||
|
});
|