cc-gram 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/core.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-gram",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "🖼 A CSS & Canvas Instagram filters based on CSSgram",
5
5
  "type": "module",
6
6
  "engines": {
package/src/core.ts CHANGED
@@ -98,7 +98,7 @@ export class CCgram {
98
98
  * @param [selectors='img[data-${this._dataAttribute}]'] - selectors
99
99
  */
100
100
 
101
- applyFilter(selectors = `img[data-${this._dataAttribute}]`): void {
101
+ applyFilter(selectors: string = `img[data-${this._dataAttribute}]`): void {
102
102
  document
103
103
  .querySelectorAll<HTMLImageElement>(selectors)
104
104
  .forEach((target): void => {