# 제이쿼리 팁

참고: 이 팁을 사용하려면 `jquery.d.ts` 파일을 설치해야 합니다

## 빠르게 새 플러그인을 만들기

다음과 같은 내용으로 `jquery-foo.d.ts` 파일을 만드세요:

```typescript
interface JQuery {
  foo: any;
}
```

그러면 `$('something').foo({whateverYouWant:'hello jquery plugin'})` 같은 식으로 사용할 수 있습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://radlohead.gitbook.io/typescript-deep-dive/main-1/jquery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
