Compile TypeScript to JavaScript:
npx tsc
Optionally, you can publish your library to npm:
npm publish
// Assuming you have an object of type PaginationFilter
const filter: PaginationFilter = {};
// Assigning a value to parent_id
filter['filter[parent_id]'] = 1;
// You can also assign other values based on the interface
filter.sort = 'name';
filter.fields = 'id,name';
filter.include = 'children';
filter.per_page = 10;
filter.page = 1;