Skip to content

Commit

Permalink
fix(Expand)
Browse files Browse the repository at this point in the history
  • Loading branch information
wmakeev committed Jul 27, 2021
1 parent a6dabd0 commit 85e36c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moysklad-api-model",
"version": "0.4.0",
"version": "0.4.1",
"description": "Объектная модель API МойСклад для TypeScript проектов",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/model/utils/Expand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export type Expand<T, U extends string | undefined> =
? T

: string extends U
? '[Error] Expand: Неизвестный путь - string'
? never

// 'foo.bar,baz'
: U extends `${infer Path},${infer Rest}`
Expand Down

0 comments on commit 85e36c9

Please sign in to comment.