dotvvm-types 4.3.0-preview04-final → 4.3.0-preview05-final

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotvvm-types",
3
- "version": "4.3.0-preview04-final",
3
+ "version": "4.3.0-preview05-final",
4
4
  "description": "MVVM framework for ASP.NET",
5
5
  "types": "./types/index.d.ts",
6
6
  "repository": {
package/types/index.d.ts CHANGED
@@ -5,8 +5,7 @@ declare module "shared-classes" {
5
5
  constructor(reason: DotvvmPostbackErrorReason);
6
6
  toString(): string;
7
7
  }
8
- export class CoerceError implements CoerceErrorType {
9
- message: string;
8
+ export class CoerceError extends Error implements CoerceErrorType {
10
9
  path: string;
11
10
  isError: true;
12
11
  wasCoerced: false;
@@ -815,7 +814,7 @@ declare module "dotvvm-root" {
815
814
  import * as validation from "validation/validation";
816
815
  import { postBack } from "postback/postback";
817
816
  import { serialize } from "serialization/serialize";
818
- import { serializeDate, parseDate } from "serialization/date";
817
+ import { serializeDate, parseDate, parseDateOnly, parseTimeOnly } from "serialization/date";
819
818
  import { deserialize } from "serialization/deserialize";
820
819
  import * as evaluator from "utils/evaluator";
821
820
  import * as globalize from "DotVVM.Globalize";
@@ -894,6 +893,8 @@ declare module "dotvvm-root" {
894
893
  serialize: typeof serialize;
895
894
  serializeDate: typeof serializeDate;
896
895
  parseDate: typeof parseDate;
896
+ parseDateOnly: typeof parseDateOnly;
897
+ parseTimeOnly: typeof parseTimeOnly;
897
898
  deserialize: typeof deserialize;
898
899
  };
899
900
  metadata: {