Skip to content

Commit

Permalink
docs: add typescript docs for deprecated function (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanenshi committed Mar 18, 2023
1 parent d88d5de commit 1a7a0ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { NativeModules } from "react-native";
const { RNRestart } = NativeModules;

type RestartType = {
/**
* @deprecated use `restart` instead
*/
Restart(): void;
restart(): void;
};
Expand Down

0 comments on commit 1a7a0ad

Please sign in to comment.