Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/aws-lambda/common/api-gateway.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ export interface APIGatewayEventIdentity {
user: string | null;
userAgent: string | null;
userArn: string | null;
vpcId: string | null;
vpceId: string | null;
vpcId?: string | undefined;
vpceId?: string | undefined;
}
4 changes: 2 additions & 2 deletions types/aws-lambda/test/api-gateway-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ let proxyHandler: APIGatewayProxyHandler = async (event, context, callback) => {
strOrNull = requestContext.identity.user;
strOrNull = requestContext.identity.userAgent;
strOrNull = requestContext.identity.userArn;
strOrNull = requestContext.identity.vpcId;
strOrNull = requestContext.identity.vpceId;
strOrUndefined = requestContext.identity.vpcId;
strOrUndefined = requestContext.identity.vpceId;
strOrUndefined = requestContext.messageDirection;
strOrUndefinedOrNull = requestContext.messageId;
str = requestContext.path;
Expand Down
2 changes: 1 addition & 1 deletion types/react-dom/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function createRoot(container: Container, options?: RootOptions): Root;
* hydrateRoot(document.querySelector('#root'), <App />)
* ```
*
* @see https://reactjs.org/docs/react-dom-client.html#hydrateroot
* @see https://react.dev/reference/react-dom/client/hydrateRoot
*/
export function hydrateRoot(
container: Element | Document,
Expand Down
4 changes: 2 additions & 2 deletions types/react-dom/server.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export interface ServerOptions {
/**
* Only available in the environments with [Node.js Streams](https://nodejs.dev/learn/nodejs-streams).
*
* @see [API](https://reactjs.org/docs/react-dom-server.html#rendertopipeablestream)
* @see [API](https://react.dev/reference/react-dom/server/renderToPipeableStream)
*
* @param children
* @param options
Expand Down Expand Up @@ -149,7 +149,7 @@ export interface ReactDOMServerReadableStream extends ReadableStream {
/**
* Only available in the environments with [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) (this includes browsers, Deno, and some modern edge runtimes).
*
* @see [API](https://reactjs.org/docs/react-dom-server.html#rendertoreadablestream)
* @see [API](https://react.dev/reference/react-dom/server/renderToReadableStream)
*/
export function renderToReadableStream(
children: ReactNode,
Expand Down
4 changes: 2 additions & 2 deletions types/react-dom/test/react-dom-tests.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ function pipeableStreamDocumentedStringExample() {
}

/**
* source: https://reactjs.org/docs/react-dom-server.html#rendertoreadablestream
* source: https://react.dev/reference/react-dom/server/renderToReadableStream
*/
async function readableStreamDocumentedExample() {
const controller = new AbortController();
Expand Down Expand Up @@ -383,7 +383,7 @@ async function readableStreamDocumentedExample() {
}

/**
* source: https://reactjs.org/docs/react-dom-server.html#rendertoreadablestream
* source: https://react.dev/reference/react-dom/server/renderToReadableStream
*/
async function readableStreamDocumentedStringExample() {
const controller = new AbortController();
Expand Down
1 change: 0 additions & 1 deletion types/sinon-test/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ interface Configuration {
injectInto?: any;
properties?: Array<"spy" | "stub" | "mock" | "clock" | "server" | "requests"> | undefined;
useFakeTimers?: boolean | undefined;
useFakeServer?: boolean | undefined;
}

declare function sinonTest(sinon: Sinon.SinonStatic, config?: Configuration): any;
Expand Down
1 change: 0 additions & 1 deletion types/sinon-test/sinon-test-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ function testConfigure() {
injectInto: true,
properties: ["spy", "stub", "mock", "clock", "server", "requests"],
useFakeTimers: true,
useFakeServer: true,
});
}

Expand Down
Loading