fix missing js doc metadata for overloads #1331
Annotations
10 errors and 4 warnings
src/utils/resolve-type.test.ts > resolveType > process generic properties:
packages/renoun/src/utils/resolve-type.test.ts#L55
Error: Snapshot `resolveType > process generic properties 1` mismatched
- Expected
+ Received
@@ -31,10 +31,11 @@
"line": 8,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [
{
@@ -79,10 +80,20 @@
},
],
"text": "{ objectValue: number; }",
},
],
+ "position": {
+ "end": {
+ "column": 72,
+ "line": 8,
+ },
+ "start": {
+ "column": 7,
+ "line": 8,
+ },
+ },
"returnType": "Promise<number>",
"text": "(parameterValue: { objectValue: number; }) => Promise<number>",
},
],
"text": "(parameterValue: { objectValue: number; }) => Promise<number>",
❯ src/utils/resolve-type.test.ts:55:33
|
src/utils/resolve-type.test.ts > resolveType > complex properties:
packages/renoun/src/utils/resolve-type.test.ts#L191
Error: Snapshot `resolveType > complex properties 1` mismatched
- Expected
+ Received
@@ -53,10 +53,11 @@
"line": 23,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [
{
@@ -100,10 +101,20 @@
},
"text": "string",
"value": undefined,
},
],
+ "position": {
+ "end": {
+ "column": 62,
+ "line": 23,
+ },
+ "start": {
+ "column": 32,
+ "line": 23,
+ },
+ },
"returnType": "void",
"text": "(a: number, b: string) => void",
},
],
"text": "(a: number, b: string) => void",
@@ -307,10 +318,11 @@
"line": 26,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [
{
@@ -333,10 +345,20 @@
},
"text": "string",
"value": undefined,
},
],
+ "position": {
+ "end": {
+ "column": 52,
+ "line": 26,
+ },
+ "start": {
+ "column": 22,
+ "line": 26,
+ },
+ },
"returnType": "string | number",
"text": "(a: string) => string | number",
},
],
"text": "(a: string) => string | number",
@@ -661,14 +683,25 @@
"line": 28,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [],
+ "position": {
+ "end": {
+ "column": 82,
+ "line": 28,
+ },
+ "start": {
+ "column": 73,
+ "line": 28,
+ },
+ },
"returnType": "void",
"text": "() => void",
},
],
"text": "() => void",
❯ src/utils/resolve-type.test.ts:191:33
|
src/utils/resolve-type.test.ts > resolveType > primitives:
packages/renoun/src/utils/resolve-type.test.ts#L1174
Error: Snapshot `resolveType > primitives 1` mismatched
- Expected
+ Received
@@ -219,10 +219,11 @@
"line": 20,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [
{
@@ -245,10 +246,20 @@
},
"text": "string",
"value": undefined,
},
],
+ "position": {
+ "end": {
+ "column": 20,
+ "line": 23,
+ },
+ "start": {
+ "column": 17,
+ "line": 20,
+ },
+ },
"returnType": "void",
"text": "(a: string) => void",
},
],
"tags": undefined,
@@ -272,14 +283,25 @@
"line": 25,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": "async",
"parameters": [],
+ "position": {
+ "end": {
+ "column": 32,
+ "line": 28,
+ },
+ "start": {
+ "column": 9,
+ "line": 28,
+ },
+ },
"returnType": "Promise<void>",
"text": "function foo(): Promise<void>",
},
],
"text": "() => Promise<void>",
❯ src/utils/resolve-type.test.ts:1174:33
|
src/utils/resolve-type.test.ts > resolveType > function arguments that reference interfaces:
packages/renoun/src/utils/resolve-type.test.ts#L2859
Error: Snapshot `resolveType > function arguments that reference interfaces 1` mismatched
- Expected
+ Received
@@ -12,10 +12,11 @@
"line": 7,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "ComponentSignature",
"modifier": undefined,
"parameter": {
"context": "parameter",
@@ -57,10 +58,20 @@
"text": "Color",
},
],
"text": "TextProps",
},
+ "position": {
+ "end": {
+ "column": 43,
+ "line": 7,
+ },
+ "start": {
+ "column": 1,
+ "line": 7,
+ },
+ },
"returnType": "void",
"text": "function Text(props?: TextProps): void",
},
],
"text": "(props?: TextProps) => void",
❯ src/utils/resolve-type.test.ts:2859:33
|
src/utils/resolve-type.test.ts > resolveType > function arguments create reference to exported type aliases:
packages/renoun/src/utils/resolve-type.test.ts#L2957
Error: Snapshot `resolveType > function arguments create reference to exported type aliases 1` mismatched
- Expected
+ Received
@@ -12,10 +12,11 @@
"line": 8,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "ComponentSignature",
"modifier": undefined,
"parameter": {
"context": "parameter",
@@ -35,10 +36,20 @@
"line": 8,
},
},
"text": "TextProps",
},
+ "position": {
+ "end": {
+ "column": 46,
+ "line": 8,
+ },
+ "start": {
+ "column": 20,
+ "line": 8,
+ },
+ },
"returnType": "void",
"text": "(props: TextProps) => void",
},
],
"text": "Text",
❯ src/utils/resolve-type.test.ts:2957:33
|
src/utils/resolve-type.test.ts > resolveType > default parameter values:
packages/renoun/src/utils/resolve-type.test.ts#L3022
Error: Snapshot `resolveType > default parameter values 1` mismatched
- Expected
+ Received
@@ -12,10 +12,11 @@
"line": 6,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "ComponentSignature",
"modifier": undefined,
"parameter": {
"context": "parameter",
@@ -37,10 +38,20 @@
"line": 6,
},
},
"text": "TextProps",
},
+ "position": {
+ "end": {
+ "column": 61,
+ "line": 6,
+ },
+ "start": {
+ "column": 1,
+ "line": 6,
+ },
+ },
"returnType": "void",
"text": "function Text(props: TextProps): void",
},
],
"text": "(props?: TextProps) => void",
❯ src/utils/resolve-type.test.ts:3022:33
|
src/utils/resolve-type.test.ts > resolveType > default object values:
packages/renoun/src/utils/resolve-type.test.ts#L3092
Error: Snapshot `resolveType > default object values 1` mismatched
- Expected
+ Received
@@ -12,10 +12,11 @@
"line": 9,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "ComponentSignature",
"modifier": undefined,
"parameter": {
"context": "parameter",
@@ -130,10 +131,20 @@
"text": "{ fontSize: number; fontWeight: number; color?: string; }",
},
],
"text": "TextProps",
},
+ "position": {
+ "end": {
+ "column": 115,
+ "line": 9,
+ },
+ "start": {
+ "column": 1,
+ "line": 9,
+ },
+ },
"returnType": "void",
"text": "function Text(TextProps): void",
},
],
"text": "({ style: { fontSize, color } }?: TextProps) => void",
❯ src/utils/resolve-type.test.ts:3092:33
|
src/utils/resolve-type.test.ts > resolveType > generic function parameters:
packages/renoun/src/utils/resolve-type.test.ts#L3542
Error: Snapshot `resolveType > generic function parameters 1` mismatched
- Expected
+ Received
@@ -12,10 +12,11 @@
"line": 2,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [
{
@@ -81,10 +82,20 @@
},
],
"text": "GridProps",
},
],
+ "position": {
+ "end": {
+ "column": 79,
+ "line": 2,
+ },
+ "start": {
+ "column": 59,
+ "line": 2,
+ },
+ },
"returnType": "void",
"text": "(props: GridProps) => void",
},
],
"text": "(props: GridProps) => void",
❯ src/utils/resolve-type.test.ts:3542:33
|
src/utils/resolve-type.test.ts > resolveType > class:
packages/renoun/src/utils/resolve-type.test.ts#L3900
Error: Snapshot `resolveType > class 1` mismatched
- Expected
+ Received
@@ -7,10 +7,11 @@
"kind": "ClassMethod",
"name": "setValue",
"scope": undefined,
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "FunctionSignature",
"modifier": undefined,
"parameters": [
{
@@ -33,10 +34,20 @@
},
"text": "string",
"value": undefined,
},
],
+ "position": {
+ "end": {
+ "column": 4,
+ "line": 6,
+ },
+ "start": {
+ "column": 3,
+ "line": 4,
+ },
+ },
"returnType": "void",
"text": "(value: string) => void",
},
],
"text": "(value: string) => void",
❯ src/utils/resolve-type.test.ts:3900:33
|
src/utils/resolve-type.test.ts > resolveType > infers component with no parameter from return type:
packages/renoun/src/utils/resolve-type.test.ts#L4633
Error: Snapshot `resolveType > infers component with no parameter from return type 1` mismatched
- Expected
+ Received
@@ -12,14 +12,25 @@
"line": 2,
},
},
"signatures": [
{
+ "filePath": "test.ts",
"generics": [],
"kind": "ComponentSignature",
"modifier": undefined,
"parameter": undefined,
+ "position": {
+ "end": {
+ "column": 2,
+ "line": 4,
+ },
+ "start": {
+ "column": 1,
+ "line": 2,
+ },
+ },
"returnType": "ReactNode",
"text": "function Text(): ReactNode",
},
],
"text": "() => ReactNode",
❯ src/utils/resolve-type.test.ts:4633:33
|
build-and-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-and-test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-and-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-and-test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|