Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix Type issue:
the options do not support null, and this PR fix it.
【problem description】
![QQ20240830-181915](https://private-user-images.githubusercontent.com/12727582/363149124-a4e5545a-e656-4a30-a441-7f1d9d4ab581.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzc5MTYsIm5iZiI6MTczOTMzNzYxNiwicGF0aCI6Ii8xMjcyNzU4Mi8zNjMxNDkxMjQtYTRlNTU0NWEtZTY1Ni00YTMwLWE0NDEtN2YxZDlkNGFiNTgxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA1MjAxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwMGFkMTUyYmY0MjRhMGMxZGZjYjkwYWZkODI2YmE3Mjc3YTBiY2I5ZWNiNTdmYTc3NmEyMzU4OGJjYzRjMWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.f_jQ_pdxAk3TnCwxxyiyNJEWl2rKdVox7hypTArZ6SI)
When new graph instance, there get type error:
Motivation and Context
1、Add
type NullablePartial<T>
, and use it ininterface Manual
which extended by Graph Option.2、Unit test it in:
Types of changes
Self Check before Merge