diff --git a/format-schemas/index.js b/format-schemas/index.js index e243d42..362f283 100644 --- a/format-schemas/index.js +++ b/format-schemas/index.js @@ -111,6 +111,8 @@ const PROPERTIES = [ "instanceof", "tsType", + + "deprecated", ]; const processJson = processSchema.bind(null, { diff --git a/schemas-lint/index.js b/schemas-lint/index.js index 25bdf85..aeb321b 100644 --- a/schemas-lint/index.js +++ b/schemas-lint/index.js @@ -50,6 +50,7 @@ for (const filename of schemas) { "tsType", "not", "link", + "deprecated", ]; const isReference = (schema) => {