inferred-types 1.4.0 → 1.4.2
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.
- package/modules/constants/dist/index.d.cts.map +1 -1
- package/modules/inferred-types/dist/index.d.cts +3 -3
- package/modules/inferred-types/dist/index.d.cts.map +1 -1
- package/modules/inferred-types/dist/index.d.ts +3 -3
- package/modules/inferred-types/dist/index.d.ts.map +1 -1
- package/modules/runtime/dist/index.d.cts +2 -2
- package/modules/runtime/dist/index.d.cts.map +1 -1
- package/modules/runtime/dist/index.d.ts +2 -2
- package/modules/runtime/dist/index.d.ts.map +1 -1
- package/modules/types/dist/index.d.cts +1 -1
- package/modules/types/dist/index.d.cts.map +1 -1
- package/modules/types/dist/index.d.ts +1 -1
- package/modules/types/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -19226,7 +19226,7 @@ type PolicyHandlerForDropped<TPolicy$1 extends DropRulePolicy, TState$1 extends
|
|
|
19226
19226
|
* object can be easily be serialized into the `kept` property which is
|
|
19227
19227
|
* typically what people want to extract.
|
|
19228
19228
|
*/
|
|
19229
|
-
type AsDropResult<TContent$1 extends string, TRules extends readonly FinalizedDropRule[], TState$1 extends "keep" | FinalizedDropRule = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = MatchRule<TContent$1, TRules, TState$1> extends {
|
|
19229
|
+
type AsDropResult<TContent$1 extends string, TRules extends readonly FinalizedDropRule[], TState$1 extends "keep" | FinalizedDropRule = "keep", TKept extends string = "", TDropped extends readonly string[] = []> = string extends TContent$1 ? DropResult : MatchRule<TContent$1, TRules, TState$1> extends {
|
|
19230
19230
|
newState: infer NewState extends "keep" | FinalizedDropRule;
|
|
19231
19231
|
extract: infer Extracted extends string;
|
|
19232
19232
|
policy: infer Policy extends DropRulePolicy;
|
|
@@ -21268,7 +21268,7 @@ declare function getUrlQueryParams<T$1 extends string, S$1 extends string | unde
|
|
|
21268
21268
|
* Returns the default port which the given URL string would use
|
|
21269
21269
|
* based on the protocol detected in this string.
|
|
21270
21270
|
*/
|
|
21271
|
-
declare function getUrlDefaultPort<T$1 extends string>(url: T$1):
|
|
21271
|
+
declare function getUrlDefaultPort<T$1 extends string>(url: T$1): 22 | 21 | 23 | 25 | 80 | 443 | 53 | 853 | 142 | 110;
|
|
21272
21272
|
/**
|
|
21273
21273
|
* **getUrlPort**`(url, [resolve])`
|
|
21274
21274
|
*
|