Skip to content

Commit

Permalink
fix: Correct and improve OpenAPI3 Typescript interface def for schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsharvey authored and theoomoregbee committed Jun 4, 2020
1 parent 7904f78 commit 43280b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/sails.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ declare namespace Sails {
// basic semantics
type: AttributeType;
required?: boolean;
defaultsTo?: string;
defaultsTo?: any;
allowNull?: boolean;
autoUpdatedAt?: boolean;
autoCreatedAt?: boolean;
Expand Down Expand Up @@ -181,7 +181,7 @@ declare namespace Sails {
// basic semantics
type: AttributeType;
required?: boolean;
defaultsTo?: string;
defaultsTo?: any;
allowNull?: boolean;

// documentation related
Expand Down

0 comments on commit 43280b8

Please sign in to comment.