Skip to content

Commit

Permalink
Finetune Model Class type
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Nov 22, 2023
1 parent 0ea8426 commit 6dffa50
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
25 changes: 19 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hckrnews/openapi-model",
"description": "OpenAPI Model",
"version": "0.2.3",
"version": "0.2.4",
"author": {
"name": "Pieter Wigboldus",
"url": "https://hckr.news/"
Expand Down
1 change: 1 addition & 0 deletions src/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface Options {
extraAjvFormats?: any[];
}
export class Model {
new(...args: any): T;
constructor(data?: object);
set data(data: object);
get data(): object;
Expand Down

0 comments on commit 6dffa50

Please sign in to comment.