@types/simpl-schema 1.12.7 → 1.12.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
simpl-schema/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for simpl-schema (https://github.com/alde
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simpl-schema.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
11
+ * Last updated: Fri, 10 May 2024 20:35:45 GMT
12
12
  * Dependencies: [@types/meteor](https://npmjs.com/package/@types/meteor)
13
13
 
14
14
  # Credits
simpl-schema/index.d.ts CHANGED
@@ -167,7 +167,7 @@ interface SimpleSchemaMessageType {
167
167
  type SimpleSchemaMessagesDict = Record<string, SimpleSchemaMessageType>;
168
168
 
169
169
  export class SimpleSchema {
170
- constructor(schema: SimpleSchemaDefinition, options?: SimpleSchemaOptions);
170
+ constructor(schema: SimpleSchemaDefinition | SimpleSchema, options?: SimpleSchemaOptions);
171
171
  namedContext(name?: string): SimpleSchemaValidationContextStatic;
172
172
  static isSimpleSchema(obj: any): boolean;
173
173
  static addValidator(validator: Validator): void;
simpl-schema/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/simpl-schema",
3
- "version": "1.12.7",
3
+ "version": "1.12.8",
4
4
  "description": "TypeScript definitions for simpl-schema",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simpl-schema",
6
6
  "license": "MIT",
@@ -47,6 +47,6 @@
47
47
  "dependencies": {
48
48
  "@types/meteor": "*"
49
49
  },
50
- "typesPublisherContentHash": "e3e3298b7f6c3a12319337db3b20c46c67d719d864007f7d7d2e18c21b292214",
51
- "typeScriptVersion": "4.5"
50
+ "typesPublisherContentHash": "def7710e199f371afe3a990e61843c9ec4bdeeaa0b643490aa7226ae9b81b032",
51
+ "typeScriptVersion": "4.7"
52
52
  }