removeStorageItem.d.ts 706 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * 删除存储信息。
  3. *
  4. * \ **API目录**:设备
  5. *
  6. * @apiName 删除存储信息
  7. *
  8. * @param name string 是 存储信息的key值
  9. *
  10. * @returns
  11. * value string 存储信息的value值
  12. *
  13. * @support
  14. * - IOS v1.3.1.1
  15. * - Android v1.3.1.1
  16. *
  17. * @example
  18. * ```typescript
  19. * removeStorageItem({
  20. * name: '1233123213'
  21. * })
  22. * .then(res => {
  23. * console.log(res);
  24. * })
  25. * .catch(err => {
  26. * console.log(err);
  27. * });
  28. * ```
  29. */
  30. declare function removeStorageItem(args: {
  31. name: string;
  32. }): Promise<{
  33. value: string;
  34. }>;
  35. declare namespace removeStorageItem {
  36. var version: {
  37. android: string;
  38. ios: string;
  39. };
  40. }
  41. export default removeStorageItem;