* Migrating some files to typescript
* Some other files migrated
* Migrating more javascript to typescript
* Migrating more javascript to typescript
* Fixing types
* Fixing linter errors
* Fixing some imports
* Fixing linter errors
* Renaming the snapshots
* Addressing PR review comments
* Enable import order
* Add new order groups and add consistent-type-imports
* Remove types group, move react to top and fix issues
* Add store and reducers to the redux group and move imports from types folder to the end
* Fix tsc
* Remove react rule
* Fix test
* Fix eslint disable
* add isTextSelectedInPostOrReply util
* apply util
* add test
* format selected text as a markdown hyperlink if the clipboard contains a URL
* fix lint and dependency
---------
Co-authored-by: Mattermost Build <build@mattermost.com>