Initial Implementation of Profile Pictures
This commit is contained in:
@@ -12,7 +12,7 @@ export const HttpError = t.iface([], {
|
||||
"timestamp": "string",
|
||||
});
|
||||
|
||||
const HttpErrorTI: t.ITypeSuite = {
|
||||
const exportedTypeSuite: t.ITypeSuite = {
|
||||
HttpError,
|
||||
};
|
||||
export default HttpErrorTI;
|
||||
export default exportedTypeSuite;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createCheckers } from "ts-interface-checker";
|
||||
import HttpErrorTI from "./httpError.model-ti";
|
||||
import HttpError from "./httpError.model-ti";
|
||||
|
||||
const HttpErrorChecker = createCheckers(HttpErrorTI)['HttpError'];
|
||||
export default HttpErrorChecker;
|
||||
const HttpErrorChecker = createCheckers(HttpError)['HttpError'];
|
||||
export default HttpErrorChecker;
|
||||
|
||||
Reference in New Issue
Block a user