hunk.code_window:   Mutator,
     MutatorWrapper,
     Arguments
   } from '../../_internal/types'
   import { expectType } from './utils'
   type Case1<Data = any> = MutatorFn<Data>
   type Case2<Data = any> = (
     cache: Cache,
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit: } from 'swr/_internal'
  
hunk.file_path: test/type/mutator.ts
hunk.type: replace
file: # Autocomplete Suggestions
  
  ## One-Click Deploy
  
  Deploy your own SWR project with Vercel.
  
  [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?s=https://github.com/vercel/swr/tree/main/examples/autocomplete-suggestions)
  
  ## How to Use
  
  Download the example:
  
  ```bash
  curl https://codeload.github.com/vercel/swr/tar.gz/main | tar -xz --strip=2 swr-main/examples/autocomplete-suggestions
  cd autocomplete-suggestions
  ```
  
  Install it and run:
  
  ```bash
  yarn
  yarn dev
  # or
  npm install
  npm run dev
  ```
  
  ## The Idea behind the Example
  
  Show how to use SWR to fetch the suggestion for an autocomplete.
  