add ts to require target
This commit is contained in:
parent
88161c59d2
commit
bfc687c166
|
@ -2,6 +2,7 @@ import Chart from './core';
|
|||
|
||||
export const entities = Object.values(require('require-all')({
|
||||
dirname: __dirname + '/charts/schemas',
|
||||
filter: /^.+\.[jt]s$/,
|
||||
resolve: (x: any) => {
|
||||
return Chart.schemaToEntity(x.name, x.schema);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue